home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000122_news@newsmaster….columbia.edu _Sat May 23 20:12:34 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  6KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA08167
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 23 May 1998 20:12:30 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA06886
  7.     for kermit.misc@watsun; Sat, 23 May 1998 20:12:30 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!ais.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!vax1.miu.edu!JHMEYERS
  9. From: jhmeyers@miu.edu (John H Meyers)
  10. Newsgroups: comp.protocols.kermit.misc,comp.sys.hp48
  11. Subject: Re: Kermit on the HP48 (Was: One-Way Transfer)
  12. Date: 24 May 1998 00:06:37 GMT
  13. Organization: MIU Computer Services,  Fairfield, IA 52557.  Not Approved.
  14. Lines: 90
  15. Message-ID: <6k7oad$5ka$1@news.iastate.edu>
  16. References: <35646665.EBB3868B@theriver.com> <wkvhqye9g4.fsf@jhuapl.edu> <6k42pd$a3m$1@apakabar.cc.columbia.edu> <wk67iy1b8j.fsf@jhuapl.edu> <6k4ef6$g6p$1@apakabar.cc.columbia.edu>,<wk4syi58y0.fsf@jhuapl.edu>
  17. Reply-To: jhmeyers@miu.edu
  18. NNTP-Posting-Host: vax1.mum.edu
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:8777 comp.sys.hp48:81375
  20.  
  21. As to the flow-control debate (Xon/Xoff vs. none) with HP48 Kermit,
  22. I do not see how it could possibly hurt to leave it set to Xon/Xoff,
  23. unless "control-character prefixing" were inadvertently
  24. disabled even for Xon/Xoff, since in the absence of a buffer
  25. actually becoming filled to the specified point, no Xoff will
  26. get sent and no time will be wasted; however, not many people
  27. are likely to have enabled Xon/Xoff flow control within
  28. the HP48 itself, since to do so requires manually editing
  29. the IOPAR variable in the HOME directory per directions
  30. in the manual, which no one ever reads anyway :)
  31.  
  32. Being a conservative person, I always enable Xon/Xoff
  33. flow control on both sides, just in case the theoretical
  34. argument that it's impossible to trigger the condition
  35. should ever fail on either side, which certainly would
  36. cause a problem if it did, especially if the elected
  37. block-check-type was minimal or none on either side.
  38.  
  39. People tend to forget that even "official" Kermit
  40. "negotiates down" the "block check" option to the lesser of
  41. what both sides propose, and that non-official implementations
  42. of Kermit in various "terminal emulators" generally never even
  43. state or give the user any option for choosing block checking;
  44. at least the HP48 gives the user a choice (unfortunately defaulting
  45. to 1, rather than 3, much as flow-control defaults to none).
  46.  
  47. The HP48 does support block-check-type 3, however, as it has
  48. the same CRC algorithm built into its hardware.
  49.  
  50. As to parsing of ascii, the HP48 Kermit implementation embeds
  51. two extra services not normally considered part of Kermit;
  52. if the HP48 is told to send in "ascii mode," it both "decompiles"
  53. (translates an internal binary object into ascii words) and translates
  54. some or all of the ascii characters having decimal value 128-255
  55. into "backslash-prefixed" codes (some digraphs, some numeric codes);
  56. carriage-returns may also be inserted before linefeeds as this occurs.
  57.  
  58. Conversely, if the HP48 is told to receive in "ascii mode,"
  59. it performs character translation (backslash-prefixed codes
  60. into single characters) and then also "compiles" on the fly
  61. (translating text words into binary internal objects), in which case
  62. any syntax error terminates the transfer immediately (thus compiling
  63. is performed per packet, rather than after receipt of the entire file).
  64.  
  65. When sending in "binary mode," no translation occurs, and no
  66. slowdown occurs.  When receiving in "binary" mode, the entire
  67. file is received as a string; however, the appending of each
  68. new packet to the string, copying the entire received string each time,
  69. is what causes the slowdown (every now and then it may suddenly revert
  70. to the original speed, perhaps after storing a large chunk of the
  71. received string, or else after an internal "garbage collection").
  72.  
  73. I do not know for sure, but if the internal 256-byte default
  74. HP48 I/O buffer is a fixed area, then no "garbage collection"
  75. (or other processing) ought to be required in the middle of a packet;
  76. otherwise one would expect to see more re-transmissions, especially
  77. with flow-control set to "none," but generally none occur.
  78.  
  79. Only after the entire "binary" file is received does the HP48 take
  80. one more step, unrelated to Kermit, in which it checks to see whether
  81. the received file begins with a specific prefix "HPHP48-x" and if so,
  82. whether all the rest of the received bytes constitutes a valid
  83. internal HP48 binary object; if so, the HP48 delivers the
  84. extracted binary object as its result, and otherwise it leaves
  85. the received string as the result (thus allowing any computer
  86. file to be received literally as a string, even if it does not
  87. represent anything meaningful to the HP48).
  88.  
  89. As to the version of Kermit supplied by HP, the one I received with
  90. my connection kit (and the only one still found posted on HP's FTP
  91. and web site) responds as follows to the VERSION command:
  92.  
  93. IBM-PC Kermit-MS: 2.32/A  21 Jan 1989
  94. Copyright (C) Trustees of Columbia University 1982, 1989.
  95.  
  96. I find this version to work perfectly with the HP48 in an MS-DOS
  97. window under Win 3.1, although other people may report problems
  98. under Win95, possibly due to improper configurations (I can furnish
  99. a list of past postings about such failures and successes, if desired).
  100.  
  101. In fact, I am using this very Kermit at this very moment, inasmuch as
  102. no other terminal emulator or Telnet program I have yet tried out
  103. emulates the VT-100 as perfectly as does Kermit, and my connection
  104. is via a login to various systems which require a VT-100 emulation.
  105.  
  106. Congratulations to the Kermit Project for a job long well done,
  107. and even for still caring about the HP48 :)
  108.  
  109. -----------------------------------------------------------
  110. With best wishes from:   John H Meyers   <jhmeyers@mum.edu>